
<% facebook_form_for(:memorylane,@memorylane,:url => "../create") do |f| %>
  <% if f.error_messages.length > 0 -%>
      <div class="errors"><%= f.error_messages %></div>

 <% end -%>

      <div class="fbmldialog">
                    <table>
                        <tbody>
                            <tr class="prop">
                                
                                <td valign="top" >
                                    <%= f.text_field :title %>

                                </td>
                            </tr>
                            <tr class="prop">
                                  <td valign="top" >
                                      <%= f.text_area :description %>
                                </td>
                            </tr>
                               <tr class="prop">
                                  <td valign="top" >
                                    <label for="title">Select your friends to share with:</label>
                                </td>
                                  <td valign="top" >
                                     <fb:multi-friend-input />
                                </td>
                                     </tr>
                                <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="type">Choose All?</label>
                                </td>
                                <td valign="top" >
                                  
                                    <%= f.check_box :access_to_all_friends%>
                                </td>
                            </tr>
                            

                           </tbody>
                    </table>
      </div>
                <%= f.hidden_field :user_id, :value =>@facebook_user.uid %>
                <%= f.hidden_field :timeline_plugin_register_id, :value =>@memorylane.timeline_plugin_register_id %>
                <div class="buttons">
                    <span class="button">
                        <input class="save" type="submit" value="Create"/>
                    </span>
                </div>





<% end %>

      <br>

   <%= link_to("Back", "new")%>